<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<sj:head locale="it" />

<h2>Datepicker</h2>

<p class="text">A simple Datepicker</p>
<s:form id="form" theme="xhtml">

	<sj:datepicker id="date0" name="date0" maxDate="-1d" label="Select a Date" />
	<sj:datepicker id="date1" name="date1" value="%{dateValue}" label="Date Value from Action" />
	<sj:datepicker id="date2" name="nameValue" label="Date Value by Name" />
	<sj:datepicker id="date3" name="date3" value="today" displayFormat="dd.mm.yy" label="Today" />
	<sj:datepicker id="date4" name="date4" value="yesterday" displayFormat="mm/dd/yy" label="Yesterday" />
	<sj:datepicker id="date5" name="date5" value="tomorrow" displayFormat="DD, d MM yy" label="Tomorrow" />
	<sj:datepicker id="date6" name="date6" value="2004-08-14" displayFormat="d M, yy" label="String Value" />
	<sj:datepicker id="date7" name="date7" value="today" displayFormat="d M, yy" minDate="minValue" maxDate="maxValue"
		label="With min and max Date" />
	<sj:datepicker id="date8" name="date6" value="today" displayFormat="dd/mm/yyyy"  label="Italiano" />
	<sj:datepicker id="date9" name="date6" value="%{dateValue}" displayFormat="hh:mm"  timepicker="true" timepickerOnly="true" label="Tempo" />
	<sj:datepicker id="date10" name="date7" label="Show 3 Months" numberOfMonths="3"/>
	
</s:form>